//
//  SYTongJiTableViewCell.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/25.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYTongJiTableViewCell.h"

@interface SYTongJiTableViewCell ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UILabel *bianmaLab;
@property (weak, nonatomic) IBOutlet UILabel *fenleiLab;

@end


@implementation SYTongJiTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.bgView.layer.borderWidth = 1;
    self.bgView.layer.borderColor = [UIColor colorWithHexString:@"#CCCCCC"].CGColor;
    self.bgView.layer.cornerRadius = 5;
    self.bgView.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setExamModel:(SYExamListModel *)examModel {
    self.titleLab.text = examModel.title;
    self.bianmaLab.text = examModel.code;
    self.fenleiLab.text = examModel.lesson;
    
}


@end






















